package gazzera.node.core.messages;

import gazzera.utils.*;

import java.io.*;


public class Enqueue extends Message
{
	public FileID fileId = null;
	
	public Enqueue()
	{
		super();
	}

	public Enqueue(FileID fileId)
	{
		super();
		this.fileId = fileId;
	}

	@Override
	protected void recv(DataInputStream s) throws IOException
	{
		fileId = readFileID(s);
	}

	@Override
	protected void send(DataOutputStream s) throws IOException
	{
		sendFileID(s, fileId);	
	}

}
